<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../../js/vue.min.js"></script>
</head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.5.1">
<style>
    * {
        margin: 0;
        padding: 0;
    }

    #app {
        width: 500px;
        margin: 50px auto;
        text-align: center;
    }
</style>

<body>
    <div id="app">
        <button @click="show = !show">
            Toggle render
        </button>
        <transition name="custom-classes-transition" enter-active-class="animated tada" leave-active-class="animated bounceOutRight">
            <p v-if="show">hello</p>
        </transition>
    </div>
</body>
<script>
    new Vue({
        el: "#app",
        data: {
            show: false,
        }
    })

</script>

</html>